﻿using UnityEditor;

namespace Yoozoo.Gameplay.RTS
{
    [CustomEditor(typeof(GpuSkinningHandle))]
    class GpuSkinningHandleInspector : UnityEditor.Editor
    {
        void OnSceneGUI()
        {
            var handle = (GpuSkinningHandle)target;
            if (handle == null || handle.manager == null)
            {
                return;
            }

            handle.manager.OnSceneGUI();
        }
    }
}
